package 字符串;

import java.util.Scanner;

public class 回文串 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        StringBuilder str = new StringBuilder(scanner.nextLine());
        if (str.toString().equals(str.reverse().toString())){
            System.out.println("true");
        }else {
            System.out.println("false");
        }

    }
}
